package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.LabourEnterpriseApproachDao;
import com.site.wisdom_construction.entity.personnelModule.LabourEnterpriseApproach;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/4
 * @Description
 */
@Service
public class LabourEnterpriseApproachService implements LabourEnterpriseApproachDao {
    @Autowired
    private LabourEnterpriseApproachDao labourEnterpriseApproachDao;

    @Override
    public int insertLabourEnterpriseApproach(Map map) {
        return labourEnterpriseApproachDao.insertLabourEnterpriseApproach(map);
    }

    @Override
    public int deleteLabourEnterpriseApproach(Map map) {
        return labourEnterpriseApproachDao.deleteLabourEnterpriseApproach(map);
    }

    @Override
    public int updateLabourEnterpriseApproach(Map map) {
        return labourEnterpriseApproachDao.updateLabourEnterpriseApproach(map);
    }

    @Override
    public int updateLabourEnterpriseApproachByStatusT(Map map) {
        return labourEnterpriseApproachDao.updateLabourEnterpriseApproachByStatusT(map);
    }

    @Override
    public int updateLabourEnterpriseApproachByStatusJ(Map map) {
        return labourEnterpriseApproachDao.updateLabourEnterpriseApproachByStatusJ(map);
    }

    @Override
    public List<LabourEnterpriseApproach> findLabourEnterpriseApproachByPage(Map map) {
        return labourEnterpriseApproachDao.findLabourEnterpriseApproachByPage(map);
    }

    @Override
    public long Total(Map map) {
        return labourEnterpriseApproachDao.Total(map);
    }

    @Override
    public List<LabourEnterpriseApproach> findLabourEnterpriseApproachById(Map map) {
        return labourEnterpriseApproachDao.findLabourEnterpriseApproachById(map);
    }

    @Override
    public List<LabourEnterpriseApproach> selectLabourEnterpriseApproach(Map map) {
        return labourEnterpriseApproachDao.selectLabourEnterpriseApproach(map);
    }
}
